package com.xy.zqb.service.impl;
import com.xy.common.annotation.DataSource;
import com.xy.common.enums.DataSourceType;
import com.xy.zqb.entity.ZqbUserLoginLogEntity;
import com.xy.zqb.mapper.ZqbUserLoginLogMapper;
import com.xy.zqb.service.ZqbUserLoginLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@DataSource(value = DataSourceType.ZQB)
@Transactional(rollbackFor = Exception.class)
@Service
public class ZqbUserLoginLogServiceImpl implements ZqbUserLoginLogService {
    @Autowired
    private ZqbUserLoginLogMapper zqbUserLoginLogMapper;
    @Override
    public ZqbUserLoginLogEntity find_by_id(Integer id) {
        return zqbUserLoginLogMapper.selectById(id);
    }
}
